package array;

public class Main {

    public static void main(String[] args) {

        int[] arr = new int[10];

        for (int i = 0; i < arr.length; i++) {
            arr[i] = i;
        }

        int[] scores = new int[]{100,99,66};
        for (int i = 0; i < scores.length; i++) {
            System.out.println(scores[i]);
        }

        for (int score:scores){
            System.out.println(score);
        }

        Array<Integer> array = new Array<Integer>();
        for (int i = 0; i < 10; i++) {
            array.addLast(i);
        }

        Array<String> strArray = new Array<String>(20);

        System.out.println(array);

        array.add(1,100);
        System.out.println(array);


    }

}
